package org.dtrd.modules.achievement.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.dtrd.modules.achievement.entity.po.DtrdEntRdSigninRecordSummary;

import java.util.List;

public interface DtrdEntRdSigninRecordSummaryMapper extends BaseMapper<DtrdEntRdSigninRecordSummary> {

    /**
     * 查询本周汇总
     *
     * @param startOfWeek
     * @return
     */
    List<DtrdEntRdSigninRecordSummary> getThisWeekSummary(@Param("startOfWeek") String startOfWeek);

    /**
     * 查询上周汇总
     *
     * @param startOfWeek
     * @return
     */
    List<DtrdEntRdSigninRecordSummary> getLastWeekSummary(@Param("thisWeek") String startOfWeek);
}